import java.util.*;
public class PP2_10{
    public static void main(String[] args){
        int side,perimeter,area;
        System.out.println("Please input the length of a square's side:");
        Scanner scan = new Scanner(System.in);
        side=scan.nextInt();
        perimeter=4*side;
        area=side*side;
        System.out.println("The perimeter is:"+perimeter+"\n"+"The area is:"+area);
}}
